/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package security;


public class Validation {

    public Validation() {}
    
    public boolean validate(String userName, String password)
	{
		if(userName.length() < 6 || (password.length() < 8 || password.length() > 32))
		{
			return false;
		}
		return true;
	}    
}
